package org.jeecg.modules.demo.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 限时购表
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("sms_flash_promotion")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sms_flash_promotion对象", description="限时购表")
public class SmsFlashPromotion {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**title*/
	@Excel(name = "title", width = 15)
    @ApiModelProperty(value = "title")
	private java.lang.String title;
	/**开始日期*/
	@Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
	private java.util.Date startDate;
	/**结束日期*/
	@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
	private java.util.Date endDate;
	/**上下线状态*/
	@Excel(name = "上下线状态", width = 15)
    @ApiModelProperty(value = "上下线状态")
	private java.lang.Integer status;
	/**秒杀时间段名称*/
	@Excel(name = "秒杀时间段名称", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "秒杀时间段名称")
	private java.util.Date createTime;
	/**是否是首页抢购 0为不是，1为是*/
	@Excel(name = "是否是首页抢购 0为不是，1为是", width = 15)
    @ApiModelProperty(value = "是否是首页抢购 0为不是，1为是")
	private java.lang.Integer isindex;
	/**所属店铺*/
	@Excel(name = "所属店铺", width = 15)
    @ApiModelProperty(value = "所属店铺")
	private java.lang.Integer storeId;
}
